package sort;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import java.util.concurrent.ExecutionException;
import java.util.stream.IntStream;

public class Main {
    public static void main(String[] args) throws ExecutionException, InterruptedException {
        List<Integer> floatNums = new ArrayList<Integer>();
        IntStream.rangeClosed(1, 10).forEach(n -> {
            floatNums.add(new Random().nextInt(100));
        });
        System.out.println(floatNums);
        System.out.println(SelectSort.sort(floatNums));
        System.out.println(BubbleSort.sort(floatNums));
        System.out.println(QuickSort.sort(floatNums));
        System.out.println(ShellSort.sort(floatNums));
        System.out.println("abc".substring(0, 1));


    }

}
